package com.matrix.api.cart.dto;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author 有点甜
 * @since 2025/8/8
 */
@Data
public class CartItemDTO implements Serializable {
    @NotNull
    private Long shopId;
    @NotNull
    private Long productId;
    @NotNull
    @Min(1)
    private Integer quantity;
    private List<Long> specOptionIds;
}
